function infoShow() {
    $("#DFileTable").bootstrapTable({
        method:"get",
        url:"/DFile/pageC0010DFileReal",
        striped:true,
        pageNumber:1,
        pageSize:5,
        // 是否分页
        pagination:true,
        sidePagination: "server",
        pageList:[5,10,20],
        queryParams:function (params) {
            return{
                pageNum:(params.offset/params.limit)+1,
                pageSize:params.limit
            }
        },
        columns:[
            {title:"产品编号",field:"productId",align:"center"},
            {title:"产品名称",field:"productName",align:"center"},
            {title:"档次级别",field:"productClass",align:"center",
                formatter:function (value,row,index) {
                    if(value=="D001-1"){
                        return "高档"
                    }
                    if(value=="D001-2"){
                        return "中档"
                    }
                    if(value=="D001-3"){
                        return "低档"
                    }
                }},
            {title:"I级分类",field:"firstKindName",align:"center"},
            {title:"II级分类",field:"secondKindName",align:"center"},
            {title:"III级分类",field:"thirdKindName",align:"center"},
            {title:"产品经理",field:"responsiblePerson",align:"center"},
            {title:"删除",field:"id",align:"center",
                formatter:function (value,row,index) {
                    let btn1="<a href='javascript:void(0);' onclick=del('"+value+"')>删除</a>"
                    return btn1;
                }
            },
        ]
    })
}
function del(id) {
    if(confirm("您确认要永久删除吗?")){
        $.post("/DFile/designFileRealDelete",{id:id},function (data) {
            alert(data.msg)
            if(data.code=="1"){
                $("#DFileTable").bootstrapTable("refresh")
            }
        })
    }
}